﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Maxcoderz.LevelEditor
{
    public partial class EditorForm : Form
    {
        public EditorForm()
        {
            InitializeComponent();
        }

        public IntPtr GetDrawSurface()
        {
            return pbXNAMap.Handle;
        }

        public void SetMouseLocation(int x, int y)
        {
            lMouseLocation.Text = x.ToString() + "," + y.ToString();
        }

        private void EditorForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            Application.Exit();
        }  
    }
}
